package cn.jbolt.core.db.datasource.database.table;

import java.io.Serializable;
import java.util.List;

/**
 * JBolt系统数据库表
 */
public class JBoltDatabaseTable implements Serializable {
    private String name;
    private String remark;
    private String primaryKey;
    private boolean isMappingModel;
    private String modelName;
    private String BaseModelName;
    private String javaPackage;

    public boolean getIsMappingModel() {
        return this.isMappingModel;
    }

    public void setIsMappingModel(boolean isMappingModel) {
        this.isMappingModel = isMappingModel;
    }

    private List<JBoltDatabaseColumn> columns;

    public String getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getBaseModelName() {
        return BaseModelName;
    }

    public void setBaseModelName(String baseModelName) {
        BaseModelName = baseModelName;
    }

    public String getJavaPackage() {
        return javaPackage;
    }

    public void setJavaPackage(String javaPackage) {
        this.javaPackage = javaPackage;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<JBoltDatabaseColumn> getColumns() {
        return columns;
    }

    public void setColumns(List<JBoltDatabaseColumn> columns) {
        this.columns = columns;
    }
}
